<template>
	<!-- title部分 -->
	<view class="title">
		<view class="title_leftbox" @click="goToWode">
			<image class="title_leftbox_image_fanhui" src="../../static/返回.png"></image>
		</view>
		<view class="title_middlebox">
			<view class="title_middlebox_text">转账</view>

		</view>
		<view class="title_rightbox"> </view>
	</view>
	<!-- 转账部分 -->
	<view class="zhuanzhang">
		<view class="zhuanzhangbox">
			<view class="zhuanzhangbox_text1">对方手机号</view>
			<input type="text" class="zhuanzhangbox_text2" placeholder=" 请填写对方手机号">
			<view class="zhuanzhangbox_text3">金额将实时转入对方账户，无法退款。对方收到的转账金额不可用于提现。</view>
			<view class="zhuanzhangbox_butonbox">
				<button class="zhuanzhangbox_butonbox_button">下一步</button>
			</view>

		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {

			}
		},
		methods: {
			goToWode() {
				// 在tabbar中使用uniapp的switchTab方法跳转
				uni.switchTab({
					url: '/pages/wode/wode', // 我的路径
				});
			},
		}
	}
</script>

<style>
	/* 以下是title部分样式 */
	.title {
		background-color: #E23234;
		display: flex;
		align-items: center;
		justify-content: space-between;
		padding: 2%;
	}

	.title_leftbox {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.title_leftbox_image_fanhui {
		width: 24px;
		height: 24px;
	}

	.title_middlebox {
		flex-grow: 1;
		display: flex;
		align-items: center;
		justify-content: center;
	}

	.title_middlebox_text {
		font-size: 18px;
		color: white;
	}

	.title_rightbox {
		display: flex;
		align-items: center;
		justify-content: center;
	}

	/* 下面是转账部分样式 */
	.zhuanzhang {
		padding: 3%;
		background: linear-gradient(to bottom, #E23234, white);
		height: 35vh;
	}

	.zhuanzhangbox {
		background: white;
		border-radius: 10px;
		padding: 2%;
	}

	.zhuanzhangbox_text1 {
		font-size: 15px;
		padding: 7% 0% 3% 2%;
		width: 95%;
	}

	.zhuanzhangbox_text2 {
		font-size: 14px;
		border: 1px solid #eee;
		width: 95%;
		padding: 2% 0;
		margin-bottom: 10px;
	}

	.zhuanzhangbox_text3 {
		font-size: 12px;
		color: #888;
		margin: 0px auto 75px;
	}

	.zhuanzhangbox_butonbox {
		padding-bottom: 60px;
	}

	.zhuanzhangbox_butonbox_button {
		width: 93%;
		background-color: #E23234;
		color: white;
	}
</style>
